﻿<%@ Page MasterPageFile="~/MasterPages/Default.Master" Language="C#" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="LimpaGaragem.Web._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="Content">
        <div id="SlideShow">
            <div id="slide-holder">
                <script type="text/javascript" language="javascript">
                    if (!window.slider)
                        var slider = {};
                    slider.data = [
                    { "id": "slide-img-1", "client": "Bem Vindo ao Limpa Garagem!", "desc": "Sua nova ferramenta de Comércio Online." },
                    { "id": "slide-img-2", "client": "Cadastre-se", "desc": "Aqui você Compra, Vende e Troca o que precisar gratuitamente." },
                    { "id": "slide-img-3", "client": "Procurando Peças?", "desc": "Carros, Motos e Outros, Novos e Usados você encontra aqui." },
                    { "id": "slide-img-4", "client": "Indique Amigos", "desc": "Clique aqui para enviar quantos convites quiser para seus amigos." },
                    { "id": "slide-img-5", "client": "Duvidas?", "desc": "Tire suas duvidas sobre o maior Comercio Online Automobilistico do Brasil." },
                    { "id": "slide-img-6", "client": "Seja nosso Parceiro", "desc": "Confira como funciona o nosso plano de parceria." }, 
                    { "id": "slide-img-7", "client": "Deixe Sua Opinião", "desc": "Diga-nos o que achou do nosso site."}];
                </script>
                <div id="slide-runner">
                    <a href="">
                        <img id="slide-img-1" src="../../Images/Pages/Default/Slide/slide-1.jpg" class="slide"
                            alt="" /></a> <a href="">
                                <img id="slide-img-2" src="../../Images/Pages/Default/Slide/slide-2.jpg" class="slide"
                                    alt="" /></a> <a href="">
                                        <img id="slide-img-3" src="../../Images/Pages/Default/Slide/slide-3.jpg" class="slide"
                                            alt="" /></a> <a href="">
                                                <img id="slide-img-4" src="../../Images/Pages/Default/Slide/slide-4.jpg" class="slide"
                                                    alt="" /></a> <a href="">
                                                        <img id="slide-img-5" src="../../Images/Pages/Default/Slide/slide-5.jpg" class="slide"
                                                            alt="" /></a> <a href="">
                                                                <img id="slide-img-6" src="../../Images/Pages/Default/Slide/slide-6.jpg" class="slide"
                                                                    alt="" /></a> <a href="">
                                                                        <img id="slide-img-7" src="../../Images/Pages/Default/Slide/slide-7.jpg" class="slide"
                                                                            alt="" /></a>
                    <div id="slide-controls">
                        <p id="slide-client" class="text">
                            <span></span>
                        </p>
                        <p id="slide-desc" class="text">
                        </p>
                        <p id="slide-nav">
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <div class="Login">
            <asp:UpdatePanel ID="upUserLogin" runat="server">
                <ContentTemplate>
                    <asp:PlaceHolder ID="phUserLogin" runat="server" Visible="true">
                        <table class="tableLogin" align="center">
                            <tr>
                                <td>
                                    Usuário:
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLoginBox" runat="server" class="textbox"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Senha:
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPasswordBox" runat="server" class="textbox" TextMode="Password"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                        <asp:Button ID="btnEnter" runat="server" Text="Entrar" class="loginButton" OnClick="btnEnter_Click"/>
                        <div class="Remember">
                            <asp:CheckBox ID="chkRememberpw" runat="server" />Lembrar Senha
                        </div>
                        <div class="loginLinks">
                            <a href="Register.aspx" id="lnkLoginReg">Cadastre-se</a> &nbsp&nbsp <a href="Forgotpw.aspx"
                                id="lnkLoginFpw">Esqueceu a Senha?</a>
                        </div>
                    </asp:PlaceHolder>
                    <asp:PlaceHolder ID="phUserLogged" runat="server" Visible="false">
                        <table class="tableLogin" align="center">
                            <tr>
                                <td>
                                    Usuário logado:
                                </td>
                                <td>
                                    <asp:Literal ID="ltrUserLogin" runat="server"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                        <asp:Button ID="btnSignout" runat="server" Text="Signout" class="loginButton" OnClick="btnSignout_Click"/>                        
                    </asp:PlaceHolder>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
</asp:Content>
